home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Part Server
- Sent: 7/10/96 5:03 PM
- Received: 7/10/96 5:11 PM
- From: Serge Froment, sfroment@odyssee.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >I suspect that memory allocated by the shared library will be deallocated
- >when the calling process quits. This is certainly true of memory allocated
- >in the application zone. I believe that starting with some version of
- >System 7.x, temp memory allocated by an application began getting
- >automatically deallocated when the process was terminated. In my opinion,
- >it's a good idea to explicitly deallocate memory.
-
- Would't this make quite hard to implement data caching and data sharing
- with different parts that view the same data?
-
- >I suggest you try not to crash in the shared library. Your users won't like
- >it if you do, and will have concerns other than whether or not temp memory
- >was deallocated.
-
- If I really understand your meaning, this means a background application
- would be a more stable implementation, right?
-
- >The thread should belong to the process that called the shared library.
- >This is an educated guess - you'll have to play with this architecture to
- >confirm that it works.
-
- To sum up this thread, I'd say a background application would be more
- stable and more easy to implement as far as memory allocation and threads
- are concerned. Under Copland, it could even be a preemptive task in
- protected memory. The only downside of this implementation is the lack of
- OSA support on the Windows platform.
-
- >MacApp has excellent support for Apple Events. I know the guy that did the
- >MacApp OSA support. I like him. So does my fiance. As a matter of fact,
- >she's marrying him next weekend.
-
- Congratulations! Tous mes voeux de bonheur! (Sorry, but I don't know the
- proper English words for that occasion... Just plug in the standard
- sentense and it should be OK :-)
-
- >You're going to have a tough time breaking apple event support out of
- >MacApp. It's dependent on the MacApp TObject hierarchy, as well as the
- >MacApp string, stream, and color classes.
-
- Would you consider the benefits of MacApp's AE support overweight the extra
- luggage?
-
- Thanks,
-
- Serge
-
-
-